package com.qianyu.core.entity.bean;

import com.baomidou.mybatisplus.annotation.TableName;
import com.qianyu.core.entity.base.BaseBean;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.Size;

/**
 * @TableName tb_wallet_account
 */
@Data
@ApiModel(value = "支付钱包账号")
@TableName("tb_wallet_account")
public class WalletAccount extends BaseBean {

    /**
     * 收款账户
     */
    @NotBlank(message = "[收款账户]不能为空")
    @Size(max = 255, message = "编码长度不能超过255")
    @ApiModelProperty("收款账户")
    private String walletAccount;
    /**
     * 账户类型
     */
    @NotBlank(message = "[账户类型]不能为空")
    @Size(max = 255, message = "编码长度不能超过255")
    @ApiModelProperty("账户类型")
    private String accountType;

}
